package com.bdqn.dao;

import com.bdqn.pojo.SysUser;
import org.mybatis.spring.SqlSessionTemplate;
import java.util.List;

public class SysUserMapperImpl implements SysUserDao {
    private SqlSessionTemplate sqlSession;

    @Override
    public List<SysUser> getUserList(SysUser sysUser) {
        return sqlSession.selectList("cn.smbms.dao.user.UserMapper.getUserList", sysUser);
    }

    @Override
    public boolean add(SysUser sysUser) {
        return false;
    }

    public SqlSessionTemplate getSqlSession() {
        return sqlSession;
    }

    public void setSqlSession(SqlSessionTemplate sqlSession) {
        this.sqlSession = sqlSession;
    }

}
